package com.pwrd.tank;

import java.io.DataInputStream;
import java.net.DatagramSocket;

/**
 * @Auther syc.
 * @Date 2016/10/17 13:58.
 */
public interface Msg {

    public static final int TANK_NEW_MSG = 1;
    public static final int TANK_MOVE_MSG = 2;
    public static final int TANK_MISSILE_NEW_MSG = 3;
    public static final int TANK_DEAD_MSG = 4;

    void send(DatagramSocket ds, String IP, int udpPort);

    void parse(DataInputStream dis);
}
